package hu.diploma.common.vos;

import java.util.List;

public class PersonVo extends BaseVo {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2242649516124290559L;

	private String accountType;

	private String accountName;

	private List<PersonalDataVo> personalDatas;

	private StructuredNameVo structuredName;

	private List<GroupVo> groups;

	private List<AddressVo> addresses;

	public void setAddresses(List<AddressVo> addresses) {
		this.addresses = addresses;
	}

	public List<AddressVo> getAddresses() {
		return this.addresses;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;

	}

	public String getAccountType() {
		return this.accountType;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getAccountName() {
		return this.accountName;
	}

	public void setGroups(List<GroupVo> groups) {
		this.groups = groups;
	}

	public List<GroupVo> getGroups() {
		return this.groups;
	}

	public void setPersonalDatas(List<PersonalDataVo> personalDatas) {
		this.personalDatas = personalDatas;
	}

	public List<PersonalDataVo> getPersonalDatas() {
		return this.personalDatas;
	}

	public void setStructuredName(StructuredNameVo structuredName) {
		this.structuredName = structuredName;
	}

	public StructuredNameVo getStructuredName() {
		return this.structuredName;
	}

	@Override
	public String toString() {
		return "PersonVo [accountName=" + this.accountName + ", accountType=" + this.accountType + ", addresses=" + this.addresses + ", personalDatas="
				+ this.personalDatas + ", structuredName=" + this.structuredName + ", getDeleted()=" + this.getDeleted() + ", getId()=" + this.getId()
				+ ", getPhoneId()=" + this.getPhoneId() + ", getVersion()=" + this.getVersion() + "]";
	}

}
